package com.fengmi.order.dto;

import com.fengmi.address.MallAddress;
import com.fengmi.cart.Cart;
import com.fengmi.order.OmsOrder;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderDTO {
   private MallAddress mallAddress;
   private OmsOrder omsOrder;
   private List<Cart> carts;


}
//      {
//       mallAddress:{}
//        omsOrder:{}
//         carts:[{},{}]
//
//        }


//1 前后端普通字符串     ip:8080/dizh?username=张三     (@Requestparam("username") String username)
//  2 {name:zhangsan}                @RequestBody People people
//  3 {
//       abc:[{},{}]
//     }
